Don't output geocaching data in .loc if we don't have geocaching data.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 6 Mar 2011 23:55:12 +0000 (23:55 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 6 Mar 2011 23:55:12 +0000 (23:55 +0000)
gpsbabel/geo.c

index c2a0bec0eef8b347cdb0d747076ae9522558ef66..0250dad37f78d0cb9593e7ad42d1756b76045404 100644 (file)
@@ -238,7 +238,7 @@ geo_waypt_pr(const waypoint *waypointp)
                        tmp);
                xfree(tmp);
        }
-       if (waypointp->gc_data)
+       if (waypointp->gc_data && waypointp->gc_data->diff)
        {
                int v;